package com.lys.emsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lys.emsystem.entity.Major;
import com.lys.emsystem.vo.MajorVo;

import java.util.List;

public interface MajorService {
    IPage<Major> search(Page<Major> page, MajorVo majorVo);

    int add(Major major);

    int update(Major major);

    int delete(int id);

    int deleteList(int[] ids);

    List<Major> searchByCollegeId(int id);
}
